<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>cms_ui_auto_report</title>
    <meta name="generator" content="HTMLTestRunner 0.8.2.2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    
<style type="text/css" media="screen">
body        { font-family: Microsoft YaHei,Tahoma,arial,helvetica,sans-serif;padding: 20px; font-size: 120%; }
table       { font-size: 100%; }
/* -- heading ---------------------------------------------------------------------- */
.heading {
    margin-top: 0ex;
    margin-bottom: 1ex;
}
.heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
}
/* -- report ------------------------------------------------------------------------ */
#total_row  { font-weight: bold; }
.passCase   { color: #5cb85c; }
.failCase   { color: #d9534f; font-weight: bold; }
.errorCase  { color: #f0ad4e; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }
</style>

</head>
<body >
<script language="javascript" type="text/javascript">
output_list = Array();
/*level 调整增加只显示通过用例的分类 --Findyou
0:Summary //all hiddenRow
1:Failed  //pt hiddenRow, ft none
2:Pass    //pt none, ft hiddenRow
3:All     //pt none, ft none
*/
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level == 2 || level == 0 ) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level < 2) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
    }
    //加入【详细】切换文字变化 --Findyou
    detail_class=document.getElementsByClassName('detail');
	//console.log(detail_class.length)
	if (level == 3) {
		for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="收起"
		}
	}
	else{
			for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="详细"
		}
	}
}
function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        //ID修改 点 为 下划线 -Findyou
        tid0 = 't' + cid.substr(1) + '_' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        //修改点击无法收起的BUG，加入【详细】切换文字变化 --Findyou
        if (toHide) {
            document.getElementById(tid).className = 'hiddenRow';
            document.getElementById(cid).innerText = "详细"
        }
        else {
            document.getElementById(tid).className = '';
            document.getElementById(cid).innerText = "收起"
        }
    }
}
function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}
</script>
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">cms_ui_auto_report</h1>
<p class='attribute'><strong>测试人员 : </strong> TL</p>
<p class='attribute'><strong>开始时间 : </strong> 2022-10-31 20:28:59</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:01:14.307762</p>
<p class='attribute'><strong>测试结果 : </strong> 共 4，错误 4，通过率= 0.00%</p>

<p class='description'>用例执行情况如下</p>
</div>


<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 0.00% }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 0 }</a>
<a class="btn btn-info" href='javascript:showCase(3)'>所有{ 4 }</a>
</p>
<table id='result_table' class="table table-condensed table-bordered table-hover">
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row' class="text-center success" style="font-weight: bold;font-size: 16px;">
    <td>用例集/测试用例</td>
    <td>总计</td>
    <td>通过</td>
    <td>失败</td>
    <td>错误</td>
    <td>详细</td>
</tr>

<tr class='errorClass warning'>
    <td>test001_bbslogin.Bbs_login</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center"><a href="javascript:showClassDetail('c1',1)" class="detail" id='c1'>详细</a></td>
</tr>

<tr id='ft1_1' class='none'>
    <td class='errorCase'><div class='testcase'>test_bbslogin</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft1_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_1'>错误</button>
    <div id='div_ft1_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft1_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_1'>错误</button>
    <div id='div_ft1_1' class="collapse in" align="left">
    <pre>
    
ft1_1: Traceback (most recent call last):
  File "D:\python--tl\ui_auto2\testcase\bbs_test\test001_bbslogin.py", line 30, in test_bbslogin
    a.get(url)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 441, in get
    self.execute(Command.GET, {'url': url})
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute
    self.error_handler.check_response(response)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status
from disconnected: received Inspector.detached event
  (Session info: chrome=104.0.5112.81)
Stacktrace:
Backtrace:
	Ordinal0 [0x007678B3+2193587]
	Ordinal0 [0x00700681+1771137]
	Ordinal0 [0x006141A8+803240]
	Ordinal0 [0x00607E1E+753182]
	Ordinal0 [0x00607A0F+752143]
	Ordinal0 [0x00606FAF+749487]
	Ordinal0 [0x00605E94+745108]
	Ordinal0 [0x00606498+746648]
	Ordinal0 [0x00610610+787984]
	Ordinal0 [0x0060781D+751645]
	Ordinal0 [0x00608450+754768]
	Ordinal0 [0x00607A2A+752170]
	Ordinal0 [0x00606FAF+749487]
	Ordinal0 [0x00605E94+745108]
	Ordinal0 [0x0060636D+746349]
	Ordinal0 [0x00615974+809332]
	Ordinal0 [0x0066E18D+1171853]
	Ordinal0 [0x0065D7AC+1103788]
	Ordinal0 [0x0066DAE2+1170146]
	Ordinal0 [0x0065D5C6+1103302]
	Ordinal0 [0x006377E0+948192]
	Ordinal0 [0x006386E6+952038]
	GetHandleVerifier [0x00A10CB2+2738370]
	GetHandleVerifier [0x00A021B8+2678216]
	GetHandleVerifier [0x007F17AA+512954]
	GetHandleVerifier [0x007F0856+509030]
	Ordinal0 [0x0070743B+1799227]
	Ordinal0 [0x0070BB68+1817448]
	Ordinal0 [0x0070BC55+1817685]
	Ordinal0 [0x00715230+1856048]
	BaseThreadInitThunk [0x77C3FA29+25]
	RtlGetAppContainerNamedObjectPath [0x77E87BBE+286]
	RtlGetAppContainerNamedObjectPath [0x77E87B8E+238]



    </pre>
    </div>
    </td>
</tr>

<tr class='errorClass warning'>
    <td>test002_bbspostarc.Test_Post_Arc</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>

<tr id='ft2_1' class='none'>
    <td class='errorCase'><div class='testcase'>test_postarc</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft2_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft2_1'>错误</button>
    <div id='div_ft2_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft2_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft2_1'>错误</button>
    <div id='div_ft2_1' class="collapse in" align="left">
    <pre>
    
ft2_1: Traceback (most recent call last):
  File "D:\python--tl\ui_auto2\testcase\bbs_test\test002_bbspostarc.py", line 18, in test_postarc
    elem1=BsaePage.search_elem(Bbselem_Iput.bbs_my)
  File "D:\python--tl\ui_auto2\public\pages\basepage.py", line 25, in search_elem
    return cls.driver.find_element(By.LINK_TEXT,value)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 858, in find_element
    'value': value})['value']
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute
    self.error_handler.check_response(response)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: chrome not reachable
  (Session info: chrome=104.0.5112.81)
Stacktrace:
Backtrace:
	Ordinal0 [0x007678B3+2193587]
	Ordinal0 [0x00700681+1771137]
	Ordinal0 [0x00614070+802928]
	Ordinal0 [0x00609AB2+760498]
	Ordinal0 [0x005FCEAF+708271]
	Ordinal0 [0x00601142+725314]
	Ordinal0 [0x006055C9+742857]
	Ordinal0 [0x00615500+808192]
	Ordinal0 [0x0066D2C2+1168066]
	Ordinal0 [0x0065D5C6+1103302]
	Ordinal0 [0x006377E0+948192]
	Ordinal0 [0x006386E6+952038]
	GetHandleVerifier [0x00A10CB2+2738370]
	GetHandleVerifier [0x00A021B8+2678216]
	GetHandleVerifier [0x007F17AA+512954]
	GetHandleVerifier [0x007F0856+509030]
	Ordinal0 [0x0070743B+1799227]
	Ordinal0 [0x0070BB68+1817448]
	Ordinal0 [0x0070BC55+1817685]
	Ordinal0 [0x00715230+1856048]
	BaseThreadInitThunk [0x77C3FA29+25]
	RtlGetAppContainerNamedObjectPath [0x77E87BBE+286]
	RtlGetAppContainerNamedObjectPath [0x77E87B8E+238]



    </pre>
    </div>
    </td>
</tr>

<tr class='errorClass warning'>
    <td>test003_bbs_delete_arc.Test_delete_bbsarc</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center"><a href="javascript:showClassDetail('c3',1)" class="detail" id='c3'>详细</a></td>
</tr>

<tr id='ft3_1' class='none'>
    <td class='errorCase'><div class='testcase'>test_delete</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft3_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft3_1'>错误</button>
    <div id='div_ft3_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft3_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft3_1'>错误</button>
    <div id='div_ft3_1' class="collapse in" align="left">
    <pre>
    
ft3_1: Traceback (most recent call last):
  File "D:\python--tl\ui_auto2\testcase\bbs_test\test003_bbs_delete_arc.py", line 7, in test_delete
    elem1=BsaePage.search_elem(Bbselem_Iput.bbs_discuz_img)
  File "D:\python--tl\ui_auto2\public\pages\basepage.py", line 27, in search_elem
    return cls.driver.find_element(By.XPATH,value)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 858, in find_element
    'value': value})['value']
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute
    self.error_handler.check_response(response)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: chrome not reachable
  (Session info: chrome=104.0.5112.81)
Stacktrace:
Backtrace:
	Ordinal0 [0x007678B3+2193587]
	Ordinal0 [0x00700681+1771137]
	Ordinal0 [0x00614070+802928]
	Ordinal0 [0x00609AB2+760498]
	Ordinal0 [0x005FCEAF+708271]
	Ordinal0 [0x00601142+725314]
	Ordinal0 [0x006055C9+742857]
	Ordinal0 [0x00615500+808192]
	Ordinal0 [0x0066D2C2+1168066]
	Ordinal0 [0x0065D5C6+1103302]
	Ordinal0 [0x006377E0+948192]
	Ordinal0 [0x006386E6+952038]
	GetHandleVerifier [0x00A10CB2+2738370]
	GetHandleVerifier [0x00A021B8+2678216]
	GetHandleVerifier [0x007F17AA+512954]
	GetHandleVerifier [0x007F0856+509030]
	Ordinal0 [0x0070743B+1799227]
	Ordinal0 [0x0070BB68+1817448]
	Ordinal0 [0x0070BC55+1817685]
	Ordinal0 [0x00715230+1856048]
	BaseThreadInitThunk [0x77C3FA29+25]
	RtlGetAppContainerNamedObjectPath [0x77E87BBE+286]
	RtlGetAppContainerNamedObjectPath [0x77E87B8E+238]



    </pre>
    </div>
    </td>
</tr>

<tr class='errorClass warning'>
    <td>test004_managework.Managework</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center"><a href="javascript:showClassDetail('c4',1)" class="detail" id='c4'>详细</a></td>
</tr>

<tr id='ft4_1' class='none'>
    <td class='errorCase'><div class='testcase'>test_manage</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft4_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft4_1'>错误</button>
    <div id='div_ft4_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft4_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft4_1'>错误</button>
    <div id='div_ft4_1' class="collapse in" align="left">
    <pre>
    
ft4_1: Traceback (most recent call last):
  File "D:\python--tl\ui_auto2\testcase\bbs_test\test004_managework.py", line 7, in test_manage
    elem1=BsaePage.search_elem(Bbselem_Iput.bbs_notice)
  File "D:\python--tl\ui_auto2\public\pages\basepage.py", line 27, in search_elem
    return cls.driver.find_element(By.XPATH,value)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 858, in find_element
    'value': value})['value']
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute
    self.error_handler.check_response(response)
  File "D:\python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: chrome not reachable
  (Session info: chrome=104.0.5112.81)
Stacktrace:
Backtrace:
	Ordinal0 [0x007678B3+2193587]
	Ordinal0 [0x00700681+1771137]
	Ordinal0 [0x00614070+802928]
	Ordinal0 [0x00609AB2+760498]
	Ordinal0 [0x005FCEAF+708271]
	Ordinal0 [0x00601142+725314]
	Ordinal0 [0x006055C9+742857]
	Ordinal0 [0x00615500+808192]
	Ordinal0 [0x0066D2C2+1168066]
	Ordinal0 [0x0065D5C6+1103302]
	Ordinal0 [0x006377E0+948192]
	Ordinal0 [0x006386E6+952038]
	GetHandleVerifier [0x00A10CB2+2738370]
	GetHandleVerifier [0x00A021B8+2678216]
	GetHandleVerifier [0x007F17AA+512954]
	GetHandleVerifier [0x007F0856+509030]
	Ordinal0 [0x0070743B+1799227]
	Ordinal0 [0x0070BB68+1817448]
	Ordinal0 [0x0070BC55+1817685]
	Ordinal0 [0x00715230+1856048]
	BaseThreadInitThunk [0x77C3FA29+25]
	RtlGetAppContainerNamedObjectPath [0x77E87BBE+286]
	RtlGetAppContainerNamedObjectPath [0x77E87B8E+238]



    </pre>
    </div>
    </td>
</tr>

<tr id='total_row' class="text-center active">
    <td>总计</td>
    <td>4</td>
    <td>0</td>
    <td>0</td>
    <td>4</td>
    <td>通过率：0.00%</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>
    <div style=" position:fixed;right:50px; bottom:30px; width:20px; height:20px;cursor:pointer">
    <a href="#"><span class="glyphicon glyphicon-eject" style = "font-size:30px;" aria-hidden="true">
    </span></a></div>
    
</body>
</html>
